Namespaces

Types in FluentNHibernate.Mapping

Type AnyPart<T>

Namespace FluentNHibernate.Mapping

Interfaces IAnyMappingProvider

Represents the "Any" mapping in NHibernate. It is impossible to specify a foreign key constraint for this kind of association. For more information please reference chapter 5.2.4 in the NHibernate online documentation

Methods

Properties

Public instance methods

AnyPart<T> AddMetaValue(Type class, string valueMap)

AnyPart<T> AddMetaValue<TModel>(string valueMap)

AnyPart<T> EntityIdentifierColumn(string columnName)

AnyPart<T> EntityTypeColumn(string columnName)

AnyPart<T> IdentityType(Expression<Func<T, object>> expression)

AnyPart<T> IdentityType(Type type)

AnyPart<T> IdentityType<TIdentity>()

AnyPart<T> MetaType(string metaType)

Sets the meta-type value for this any mapping.
Parameters
string metaType

Meta type

AnyPart<T> MetaType(Type metaType)

Sets the meta-type value for this any mapping.
Parameters
Type metaType

Meta type

AnyPart<T> MetaType<TMetaType>()

Sets the meta-type value for this any mapping.

Public properties

AccessStrategyBuilder<T> Access get;

Defines how NHibernate will access the object for persisting/hydrating (Defaults to Property)

CascadeExpression<TParent> Cascade get;

Cascade style (Defaults to none)

AnyPart<T> Not get;